<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/


/*admin*/
$route['admin'] = 'user/index';
$route['taskmanager'] = 'taskmanager';

$route['default_controller'] = 'user/index';
$route['404_override'] = '';

/*pdf*/
$route['welcome/pdf'] = 'welcome/pdf';
$route['pdf'] = 'welcome/pdf';

/*login*/
$route['login'] = 'user/index';


/*department*/
$route['settings/dept'] = 'settings/dept_view';
$route['settings/dept_create'] = 'settings/dept_create';

/*Reports*/
$route['admin/reports/result_card_detail_pdf/(:any)'] = 'reports/result_card_detail_pdf/$1';
$route['admin/reports/result_card_detail_pdf_limit'] = 'reports/result_card_detail_pdf_limit';
$route['admin/reports/std_general_info_report_view'] = 'reports/std_general_info_report_view';
$route['admin/reports/std_general_info_report'] = 'reports/std_general_info_report';
$route['admin/reports/download_report'] = 'reports/download_report';
$route['admin/reports/excel_report_view'] = 'reports/excel_report_view';
$route['admin/reports/result_excel_report'] = 'reports/result_excel_report';

$route['admin/reports/attendence_std'] = 'attendence_std/index';
$route['admin/reports/absentee_std'] = 'absentee_std/index';
$route['admin/reports/attendence_emp'] = 'attendence_emp/index';
$route['admin/reports/absentee_emp'] = 'absentee_emp/index';
$route['admin/reports/emp_attendence_report'] = 'attendence_emp/emp_attendence_report';





/*admin*/
$route['admin'] = 'user/index';
$route['admin/signup'] = 'user/signup';
$route['admin/create_member'] = 'user/create_member';
$route['admin/login'] = 'user/index';
$route['admin/logout'] = 'user/logout';
$route['admin/login/validate_credentials'] = 'user/validate_credentials';





$route['admin/student'] = 'student/index';
$route['admin/student/(:any)'] = 'student/index/$1'; //$1 = page number
$route['admin/student/add'] = 'student/add';
$route['admin/std_modify_ginfo_view/(:any)'] = 'student/std_modify_ginfo_view/$1';
$route['admin/get_all_student/(:any)'] = 'student/get_all_student/$1';
$route['admin/student/update_std_marks_view'] = 'student/update_std_marks_view';
$route['admin/student/load_html_std_marks_view'] = 'student/load_html_std_marks_view';
$route['admin/student/update_std_first_term_marks'] = 'student/update_std_first_term_marks';
$route['admin/student/update_std_pro_test_marks'] = 'student/update_std_pro_test_marks';
$route['admin/student/update_std_pre_test_marks'] = 'student/update_std_pre_test_marks';
$route['admin/student/update_std_test_exam_marks'] = 'student/update_std_test_exam_marks';
$route['admin/student/store_std_general_info'] = 'student/store_std_general_info';
$route['admin/student/edit_std_general_info'] = 'student/edit_std_general_info';
$route['admin/student/add_subject_view'] = 'student/add_subject_view';
$route['admin/student/store_new_subject'] = 'student/store_new_subject';
$route['admin/student/std_assign_subject'] = 'student/std_assign_subject';
$route['admin/student/std_assign_core_subject'] = 'student/std_assign_core_subject';
$route['admin/student/store_std_core_subject'] = 'student/store_std_core_subject';
$route['admin/student/std_assign_optional_subject'] = 'student/std_assign_optional_subject';
$route['admin/student/store_std_optional_or_core_subject'] = 'student/store_std_optional_or_core_subject';
$route['admin/student/check_no_of_subject'] = 'student/check_no_of_subject';
$route['admin/student/subject_total_attendence_view'] = 'student/subject_total_attendence_view';
$route['admin/student/subject_total_attendence_sel'] = 'student/subject_total_attendence_sel';
$route['admin/student/show_all_attendence'] = 'student/show_all_attendence';
$route['admin/student/subject_total_attendence_store'] = 'student/subject_total_attendence_store';
$route['admin/student/result_card_report'] = 'student/result_card_report';
$route['admin/student/result_process_view'] = 'student/result_process_view';
$route['admin/student/result_process'] = 'student/result_process';
$route['admin/student/update_total_exam_marks_view'] = 'student/update_total_exam_marks_view';
$route['admin/student/load_html_total_exam_marks_view'] = 'student/load_html_total_exam_marks_view';
$route['admin/student/update_total_exam_marks'] = 'student/update_total_exam_marks';
$route['admin/upload/excel_marks_upload_view'] = 'upload/excel_marks_upload_view';
$route['admin/upload/excel_marks_upload'] = 'upload/excel_marks_upload';



$route['admin/products'] = 'admin_products/index';
$route['admin/products/add'] = 'admin_products/add';
$route['admin/products/update'] = 'admin_products/update';
$route['admin/products/update/(:any)'] = 'admin_products/update/$1';
$route['admin/products/delete/(:any)'] = 'admin_products/delete/$1';
$route['admin/products/(:any)'] = 'admin_products/index/$1'; //$1 = page number

$route['admin/manufacturers'] = 'admin_manufacturers/index';
$route['admin/manufacturers/add'] = 'admin_manufacturers/add';
$route['admin/manufacturers/update'] = 'admin_manufacturers/update';
$route['admin/manufacturers/update/(:any)'] = 'admin_manufacturers/update/$1';
$route['admin/manufacturers/delete/(:any)'] = 'admin_manufacturers/delete/$1';
$route['admin/manufacturers/(:any)'] = 'admin_manufacturers/index/$1'; //$1 = page number


$route['cycret/getKeys'] = 'cycret/getKeys';

/* End of file routes.php */
/* Location: ./application/config/routes.php */